﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace webapitest2.Controllers
{
    /// <summary>
    /// 商品管理：【vic】
    /// </summary>

    [RoutePrefix("api/goodsManager")]
    public class TestController : ApiController
    {
        /// <summary>
        /// 获取用户名
        /// </summary>
        /// <returns></returns>
        [Route("adm/modify"), HttpPost]
        public IEnumerable<string> getUserName()
        {
            return new string[] { "value1", "value2" };
        }
    }
}
